Determines whether an element is in the
ListWithEvents<T>.
'Declaration
Public Function Contains( _
ByVal As _
) As Boolean
'Usage
Dim instance As ListWithEvents(Of T)
Dim item As
Dim value As Boolean
value = instance.Contains(item)
Parameters
- item
- The object to locate in the ListWithEvents<T>. The value can be null for reference types.
Return Value
true if item is found in the
ListWithEvents<T>; otherwise, it is false.